package com.mrjy.common.entity;

import java.sql.Timestamp;
import java.util.Date;

public class UserVideoRel extends BaseEntity {
	
    /**
	 * 
	 */
	private static final long serialVersionUID = -2079684643467672355L;

	private Integer id;

    private Integer userId;

    //视频的ID
    private Integer videoId;
    
    //创建时间
    private Date createTime;
    
    //最近一次观看的时间
    private Timestamp lastViewTime; 
    
    //用于查询，视频类型
    private String typeName;
    
    //最后观看时长 (如 00:10:32)
    private String lastViewDuration;
    
    //是否看完 (0:未看完  1:已看完)
    private String isFinish;
    
    //观看进度
    private double viewProgress;


    //最近一次观看的时间
    private Timestamp lastViewTimeAudio;

    //最后观看时长 (如 00:10:32)
    private String lastViewDurationAudio;

    //是否看完 (0:未看完  1:已看完)
    private String isFinishAudio;

    //观看进度
    private double viewProgressAudio;

    //视频的ID
    private Integer freeFlag;

    //每周学习累计值
    private Integer accumulativeDaily;

    private Integer weclassIsFinish;//微课完成（0：没完成 1：完成）

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getVideoId() {
        return videoId;
    }

    public void setVideoId(Integer videoId) {
        this.videoId = videoId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getLastViewDuration() {
		return lastViewDuration;
	}

	public void setLastViewDuration(String lastViewDuration) {
		this.lastViewDuration = lastViewDuration;
	}

	public String getIsFinish() {
		return isFinish;
	}

	public void setIsFinish(String isFinish) {
		this.isFinish = isFinish;
	}

	public double getViewProgress() {
		return viewProgress;
	}

	public void setViewProgress(double viewProgress) {
		this.viewProgress = viewProgress;
	}

	public Timestamp getLastViewTime() {
		return lastViewTime;
	}

	public void setLastViewTime(Timestamp lastViewTime) {
		this.lastViewTime = lastViewTime;
	}


    public Timestamp getLastViewTimeAudio() {
        return lastViewTimeAudio;
    }

    public void setLastViewTimeAudio(Timestamp lastViewTimeAudio) {
        this.lastViewTimeAudio = lastViewTimeAudio;
    }

    public String getLastViewDurationAudio() {
        return lastViewDurationAudio;
    }

    public void setLastViewDurationAudio(String lastViewDurationAudio) {
        this.lastViewDurationAudio = lastViewDurationAudio;
    }

    public String getIsFinishAudio() {
        return isFinishAudio;
    }

    public void setIsFinishAudio(String isFinishAudio) {
        this.isFinishAudio = isFinishAudio;
    }

    public double getViewProgressAudio() {
        return viewProgressAudio;
    }

    public void setViewProgressAudio(double viewProgressAudio) {
        this.viewProgressAudio = viewProgressAudio;
    }

    public Integer getFreeFlag() {
        return freeFlag;
    }

    public void setFreeFlag(Integer freeFlag) {
        this.freeFlag = freeFlag;
    }

    public Integer getAccumulativeDaily() {
        return accumulativeDaily;
    }

    public void setAccumulativeDaily(Integer accumulativeDaily) {
        this.accumulativeDaily = accumulativeDaily;
    }

    public Integer getWeclassIsFinish() {
        return weclassIsFinish;
    }

    public void setWeclassIsFinish(Integer weclassIsFinish) {
        this.weclassIsFinish = weclassIsFinish;
    }
}